﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace my.abp.Domain.Authorization
{
	/// <summary>
	/// 操作权限 自定义特性
	/// </summary>
	[AttributeUsage(AttributeTargets.Method)]
	public class PermissionAttribute : Attribute
	{
		internal string Code { get; set; }

		public PermissionAttribute(string code)
		{
			Code = code;
		}
	}
}
